<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head runat="server">
<title></title>
<link href="../admin/Styles/css.css" rel="stylesheet" type="text/css" />
<script src="../admin/Scripts/jquery.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
        $().ready(function () {
            $("#imgJtd").toggle(function () {
                $("#topleft").show();
            }, function () {
                $("#topleft").hide();
            });

            $(".Menuhref").click(function () {
                $(".box_leftMenu div").hide();
                $(".Menuhref").removeClass("s1");
                $("#ul" + this.id).show();
                $(this).addClass("s1");
            });


            $(".Menuhref a").click(function () {
                $(".Menuhref a").removeClass("box_leftMenuhover");

                $(this).addClass("box_leftMenuhover");
            });



        });
        
        function exit(){
            window.location.href="../admin/login.jsp"
        }
  
    </script>
</head>
<body>
    <div id="main">
        <div id="header">
            <div class="header_1">欢迎您，${user.useraccount }！</div>
            <div class="header_2">
                <div class="header_2_exit">
                    <img src="../admin/images/exit.png" alt="退出"
                        style="cursor: pointer" onclick="exit()" />
                </div>
            </div>
            <div class="menu">
                <div class="menu_button">
                    <ul>
                        <li class="menu_slts"><a href="#"> <img alt=""
                                src="../images/slts.png" border="0" id="imgHandle" /></a></li>
                        <li><a href="../Default.html"> <img alt=""
                                src="../images/gzt_off.png" name="image1" id="image1" /></a></li>
                        <li><a href="../Report/index.html"> <img alt=""
                                src="../images/tjfx_off.png" name="image2" id="image2" /></a></li>
                        <li><a href="../admin/index.htm"> <img alt=""
                                src="../images/xtgj_off.png" name="image3" id="image3" /></a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="box_ny">
            <table width="100%" height="450px" border="0" cellspacing="0"
                cellpadding="0">
                <tr>
                    <td width="150" valign="top" id="topleft">
                        <div class="box_left">
                            <div class="box_leftTitle">系统后台</div>
                            <div class="box_leftMenu">
                                <ul>
                                    <li><a class="Menuhref s1" href="javascript:void(0);"
                                        target="iframeContext" id="4">客户管理 </a>
                                        <div id="ul4">
                                            <ul>
                                                <li runat="server" id="liOrganization"><a
                                                    href="${pageContext.request.contextPath }/client/showClient.action" target="iframeContext">客户基础信息</a></li>
                                                <li runat="server" id="liOrganization"><a
                                                    href="${pageContext.request.contextPath }/receive/showReceive.action"
                                                    target="iframeContext">客户接待记录</a></li>
                                                <li runat="server" id="liOrganization"><a
                                                    href="${pageContext.request.contextPath }/marketing/showMarketing.action"
                                                    target="iframeContext">销售记录</a></li>

                                            </ul>
                                        </div></li>
                                    <li><a class="Menuhref" href="javascript:void(0);" id="1"
                                        target="iframeContext">交易管理</a>
                                        <div id="ul1" style="display: none">
                                            <ul>
                                                <li runat="server" id="liJobs"><a
                                                    href="${pageContext.request.contextPath }/paymenttype/showPaymenttype.action"
                                                    target="iframeContext">付款方式管理</a></li>
                                                <li runat="server" id="liDataAuthority"><a
                                                    href="${pageContext.request.contextPath }/openingReport/showAllOpeningReport.action"
                                                    target="iframeContext">报告审核</a></li>
                                                <li runat="server" id="liOperationAuthority"><a
                                                    href="${pageContext.request.contextPath }/openingReport/showOpeningReport.action" target="iframeContext">开盘管理</a>
                                                </li>
                                                <li runat="server" id="liChangeRole"><a
                                                    href="${pageContext.request.contextPath }/indent/showIndent.action" target="iframeContext">订单管理</a></li>
                                                <li runat="server" id="liChan"><a
                                                    href="${pageContext.request.contextPath }/bargain/showBargain.action"
                                                    target="iframeContext">合同管理</a></li>
                                            </ul>
                                        </div></li>
                                    <li><a class="Menuhref" href="javascript:void(0);"
                                        target="iframeContext" id="2">系统后台</a>
                                        <div id="ul2" style="display: none">
                                            <ul>
                                                <li runat="server" id="liHolidays"><a
                                                    href="${pageContext.request.contextPath }/user/showUser.action"
                                                    target="iframeContext">用户管理</a></li>
                                                <li runat="server" id="liWorkingTime"><a
                                                    href="${pageContext.request.contextPath }/role/showRole.action"
                                                    target="iframeContext"> 角色管理</a></li>
                                                <li runat="server" id="liAlterRule"><a
                                                    href="${pageContext.request.contextPath }/project/showProject.action" target="iframeContext">项目管理</a></li>
                                                <li runat="server" id="liWarningRule"><a
                                                    href="${pageContext.request.contextPath }/complex/showComplex.action" target="iframeContext">
                                                        楼栋管理</a></li>
                                                <li runat="server" id="liWarningRule"><a
                                                    href="${pageContext.request.contextPath }/unit/showUnit.action" target="iframeContext"> 单元管理</a></li>
                                                <li runat="server" id="liAlterRule"><a
                                                    href="${pageContext.request.contextPath }/room/showRoom.action" target="iframeContext">房间管理</a></li>
                                            </ul>
                                        </div></li>

                                </ul>
                            </div>
                        </div>
                    </td>
                    <td class="swich"><img src="../images/swich.gif" width="10"
                        height="25" id="imgJtd" style="cursor: pointer;" /></td>
                    <td valign="top"><iframe id="iframeContext"
                            src="../admin/welcome.htm" width="100%" height="450px"
                            name="iframeContext" frameborder="0"></iframe></td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>